<?php
/**
 * Created by PhpStorm.
 * User: Aliaxandr Lazerka
 * Date: 10/27/14
 * Time: 3:47 AM
 */

class Login
{
  static function isLoggedIn()
  {
    session_start();
    if (isset($_SESSION['USR_ID'])) {
      return true;
    } else {
      return false;
    }
  }
} 